/*********************************************************************
 *                                                                   *
 *  Js Css Minifier ( JsCssMin )                                     *
 *  Author: Igor Kanshyn                                             *
 *  Copyright (c) 2009, Igor Kanshyn. All rights reserved.           *
 *                                                                   *
 *  JsCssMin is released under the Apache Software License.          *
 *  See LICENSE.txt for more details.                                *
 *                                                                   *
 *********************************************************************/

package org.grenader.jscssmin.model;


/**
 * <p>Product: JsCssMin ( JavaScript and CSS Minifier )<br>
 * Author: Igor Kanshyn (grenader).
 * </p>
 * Date: Apr 26, 2009
 */
public class JavaScriptResourceGroup extends ResourceGroup {

    public JavaScriptResourceGroup() {
        super();
    }

    public String getPackageLine(String version) {
        return "<script type=\"text/javascript\" src=\"" + getGroupFileName(version) + "\"></script>";
    }

    protected String getExtension() {
        return ".js";
    }
}